package com.weichat.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created with IntelliJ IDEA
 * Created By HZP
 * Date: 2018/6/28
 * Time: 21:52
 */
@Controller
@RequestMapping("/weixin")
@Slf4j
public class WeixinController {

    @RequestMapping("/auth")
    public void auth(@RequestParam("code") String code){
       log.info("code",code);
    }

}
